ardiudiu.log("loading index.html.js");

function index_pageinit(evt) {
}

function index_pageshow(evt) {
	// execute android specific code here
	if (require("cordova/platform").id == "android") {
		var android_app = require("cordova/plugin/android/app");
		android_app.clearHistory();
	}
}

$(document).on({
	"pageinit" : ardiudiu.hookBeginEnd(index_pageinit),
	"pageshow" : ardiudiu.hookBeginEnd(index_pageshow)
}, "#home");